package novel.common.page;

import java.io.Serializable;

/**
 * Created by 888 on 2016/11/15.
 */
public class PageParam implements Serializable{

    private static final long serialVersionUID = 5366635712390391057L;

    private int pageNum; // 当前页数
    private int pageSize; // 每页记录数

    public PageParam(){
        super();
    }

    public PageParam(int pageNum, int pageSize) {
        super();
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
